.container {
    position: relative;
    z-index: 190;
    visibility: hidden;
    width: 100%;
    height: 65px;
    pointer-events: none;
    opacity: 0;
}

.container[data-visible='true'] {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.container.visible {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.header {
    position: relative;
    z-index: 15;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    user-select: auto;
    -webkit-app-region: drag;

    button {
        -webkit-app-region: no-drag;
    }

    input {
        -webkit-app-region: no-drag;
    }
}

.header.pad-right {
    margin-right: 140px;
}

.header.hidden {
    pointer-events: none;
    user-select: none;
}

.header.is-draggable {
    -webkit-app-region: drag;
}

.background-image {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--theme-colors-background);
}

.background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.background-image-overlay.light {
    background: linear-gradient(rgb(255 255 255 / 25%), rgb(255 255 255 / 25%));
}

.background-image-overlay.dark {
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 50%));
}

.title-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: var(--theme-spacing-sm);
}

.title-wrapper.hidden {
    display: none;
}
